export default {
  url: /^(((ht|f)tps?):\/\/)?[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?$/, // 网址(url,支持端口和"?+参数"和"#+参数)
  idCard: /(^\d{6}(18|19|20)\d{2}(0[1-9]|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$)/, // 身份证号码
  email: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
  mobile: '^1[^12][0-9]{9}$',
  _pwd: /.*(?=.*[0-9]+)(?=.*[a-zA-Z]+)(?=.*[!@#$%^&\*\(\)<>?:;]+)/g,
  tel: '^0\\d{2,3}-?\\d{7,8}$', // 固话
  currency: '^d+(.d+)?$',
  qq: '^[1-9]d{4,8}$',
  number: '^[0-9]*$',
  positiveInt: '^[1-9]d*$',
  zip: '^[1-9]d{5}$',
  double: '^[-+]?d+(.d+)?$',
  english: '^[A-Za-z]+$',
  chinese: '^[\u0391-\uFFE5]+$',
  unSafe: '^(.{0,5})$|s',
  name: /^[\u4e00-\u9fa5\a-zA-Z]+$/,
  ipaddr: /^((\b(25[0-5]|2[0-4][0-9]|\d|[1-9]\d|1\d{2})\b\.){3}\b(25[0-5]|2[0-4][0-9]|\d|[1-9]\d|1\d{2})\b(-(\b(25[0-5]|2[0-4][0-9]|\d|[1-9]\d|1\d{2})\b\.){3}\b(25[0-5]|2[0-4][0-9]|\d|[1-9]\d|1\d{2})\b)?)$/,
}
